#ifndef IMPPLANEOBJECT
#define IMPPLANEOBJECT

#include "SurfaceObject.h"
#include "Vector3.h"

class ImpPlaneObject : public SurfaceObject {
    public:
        ImpPlaneObject(Vector3, Vector3);
        bool Intersects(Ray, Vector3&);
        Vector3 GetNormal(Vector3);
        float DistanceToPointPow2(Vector3);
        Ray Refract(Ray _EyeRay, Vector3, float) { return _EyeRay ;}
        Vector3 GetRandomPositionInObject() { return Vector3::GetRandomNormalizedKernel(); }
    private:
        Vector3 _normal;
        float _d;
};

#endif




